#object
from array import array

import jsonschema

data={"code":10000,"success":"操作失败"}
json_schema={
   "type":object
}
resp=jsonschema.validate(instance=data,schema=json_schema)
print(resp)

#array
# data1=[1,2,2,3,4]
# json_schema_01={
#    "type":array
# }
#integer
# data2=20
# json_schema_02={
#    "type":integer
# }

